import request from '@/utils/request'

// 查询教案内容列表
export function selectPlanContent(query) {
  return request({
    url: '/teach/planContent/select',
    method: 'get',
    params: query
  })
}


// 查询教案内容列表
export function listPlanContent(query) {
  return request({
    url: '/teach/planContent/list',
    method: 'get',
    params: query
  })
}

// 查询教案内容详细
export function getPlanContent(id) {
  return request({
    url: '/teach/planContent/' + id,
    method: 'get'
  })
}

// 新增教案内容
export function addPlanContent(data) {
  return request({
    url: '/teach/planContent',
    method: 'post',
    data: data
  })
}

// 修改教案内容
export function updatePlanContent(data) {
  return request({
    url: '/teach/planContent',
    method: 'put',
    data: data
  })
}

// 删除教案内容
export function delPlanContent(id) {
  return request({
    url: '/teach/planContent/' + id,
    method: 'delete'
  })
}

// 导出教案内容
export function exportPlanContent(query) {
  return request({
    url: '/teach/planContent/export',
    method: 'get',
    params: query
  })
}